package com.micai.springboot.entity.blog;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/25 16:21
 * @Description: 博客大类表
 */
@TableName("bg_categroy")
public class BlogCategroyEntity extends BizEntity<BlogCategroyEntity> {
    /**
     * 父类ID
     */
    @TableField("parent_id")
    private Long parentId;
    /**
     * 大类名称
     */
    @TableField("name")
    private String name;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
